package com.schoolvisitors.dto;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDate;

@Data
public class ReservationInstrumentDto {

    @NotNull(message = "仪器ID不能为空")
    Long instrumentId;

    @NotNull(message = "时间段ID不能为空")
    private Long timeSlotId;

    @NotNull(message = "审核人不能为空")
    private Long reviewerId;

    @NotNull(message = "预约日期不能为空")
    private LocalDate date;

}
